package com.authine.cloudpivot.ext.applicationservice.v1.sourcing.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("组织VO")
public class InviteVenodrVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "平台id（租户） 例：河南固买/上海固买")
    @JsonProperty("platformId")
    private String platform_id;

    @ApiModelProperty(value = "父组织id")
    @JsonProperty("parentId")
    private String parent_id;

    @ApiModelProperty(value = "账户id")
    @JsonProperty("accountId")
    private String account_id;

    @ApiModelProperty(value = "固买业务人员的id")
    @JsonProperty("businessMemberId")
    private String business_member_id;

    @ApiModelProperty(value = "结算组织id ")
    @JsonProperty("transactionOrganizationId")
    private String transaction_organization_id;

    @ApiModelProperty(value = "扩展属性")
    @JsonProperty("extendsAttr")
    private String extends_attr;

    @ApiModelProperty(value = "组织名称")
    private String name;

    @ApiModelProperty(value = "平台名（租户） 例：河南固买/上海固买")
    @JsonProperty("platformName")
    private String platform_name;

    @ApiModelProperty(value = "父组织名")
    @JsonProperty("parentName")
    private String parent_name;

    @ApiModelProperty(value = "固买业务人员名")
    @JsonProperty("businessMemberName")
    private String business_member_name;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "组织角色集")
    @JsonProperty("roleNames")
    private String role_names;

    @ApiModelProperty(value = "组织产品线类目")
    @JsonProperty("organizationProductLine")
    private String organization_product_line;

    @ApiModelProperty(value = "主营")
    @JsonProperty("businessScope")
    private String business_scope;

    @ApiModelProperty(value = "营业执照号码")
    @JsonProperty("licenseCode")
    private String license_code;

    @ApiModelProperty(value = "信用代码")
    @JsonProperty("creditIdentifier")
    private String credit_identifier;

    @ApiModelProperty(value = "法人")
    @JsonProperty("legalRepresentative")
    private String legal_representative;

    @ApiModelProperty(value = "注册资金")
    @JsonProperty("registeredCapital")
    private String registered_capital;

    @ApiModelProperty(value = "企业联系人")
    private String connect;

    @ApiModelProperty(value = "手机")
    private String cellphone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "QQ")
    private String qq;

    @ApiModelProperty(value = "公司简介")
    private String memo;

    @ApiModelProperty(value = "采购额")
    @JsonProperty("purchaseQuota")
    private String purchase_quota;

    @ApiModelProperty(value = "附件地址")
    private String annexAddress;

    @ApiModelProperty(value = "是否平台供应商")
    private Integer platform;

    @ApiModelProperty(value = "是否为虚拟供应商")
    private Integer virtual;

    @ApiModelProperty(value = "账单周期（天）")
    @JsonProperty("statementCycle")
    private BigDecimal statement_cycle;

    @ApiModelProperty(value = "每个月几号统一对账策略")
    @JsonProperty("reconciliationDayStrategy")
    private BigDecimal reconciliation_day_strategy;

    @ApiModelProperty(value = "开票后多少天付款策略")
    @JsonProperty("paymentDayStrategy")
    private BigDecimal payment_day_strategy;

    @ApiModelProperty(value = "是否小规模供应商")
    @JsonProperty("smallScale")
    private Integer small_scale;

    @ApiModelProperty(value = "小规模供应商费率")
    @JsonProperty("smallScaleRate")
    private BigDecimal small_scale_rate;

    @ApiModelProperty(value = "运费比例")
    @JsonProperty("freightRatio")
    private BigDecimal freight_ratio;

    @ApiModelProperty(value = "支付约定方式")
    @JsonProperty("payAppointWay")
    private String pay_appoint_way;

    @ApiModelProperty(value = "销售所属区域")
    @JsonProperty("salesArea")
    private String sales_area;

    @ApiModelProperty(value = "主要品牌")
    @JsonProperty("majorBrand")
    private String major_brand;

    @ApiModelProperty(value = "限制报价小数位")
    @JsonProperty("quotationDecimalLimit")
    private BigDecimal quotation_decimal_limit;

    @ApiModelProperty(value = "评级等级")
    private String level;

    @ApiModelProperty(value = "是否可用")
    private Integer enabled;

    @ApiModelProperty(value = "是否删除")
    private Integer del;

    @ApiModelProperty(value = "修改时间")
    @JsonProperty("last")
    private Date modifiedTime;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty("time")
    private Date createdTime;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "修改人")
    private String modifiedBy;

    @ApiModelProperty(value = "版本")
    private BigDecimal version;

    @ApiModelProperty(value = "邀请人")
    @JsonProperty("inviteUser")
    private String invite_user;

    @ApiModelProperty(value = "是否精准匹配供应商")
    @JsonProperty("goodsAutomaticMatching")
    private Integer goods_automatic_matching;

    /**
     * 标签-类别
     */
    private String categoryLable;
    /**
     * 标签-区域
     */
    private String regionLable;
    /**
     * 标签-品牌
     */
    private String brandLable;
}
